class ModifyContents < ActiveRecord::Migration
  def self.up
  remove_column :contents , :content
  remove_column :contents , :img_url
  rename_column :contents , :channel , :channel_id
  end

  def self.down
  add_column :contents , :content
  add_column :contents , :img_url
  rename_column :contents , :channel_id , :channel
  end
end
